﻿using System;

namespace TextEditor
{
   

    public class A_SetPageSettings : A_Action
    {
        public override string ActionName()
        {
            return "setpagesettings";
        }

        public override bool Execute()
        {
            if (base.myOwnerDocument.Pages.ConfigPringPageSettings())
            {
                base.myOwnerDocument.ContentChanged();
                base.myOwnerDocument.OwnerControl.RefreshPages();
                base.myOwnerDocument.OwnerControl.ShowSmartTag(false);
                base.myOwnerDocument.OwnerControl.UpdateTextCaret();
            }
            return true;
        }
    }
}

